home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / datation / marketlt / install.bat < prev    next >
Encoding:
DOS Batch File  |  1993-06-15  |  1.0 KB  |  54 lines

  1. Echo off
  2. IF %1==F GOTO FLOPINS
  3. IF %1==H GOTO HARDINS1
  4. CLS
  5. GO
  6. :HARDINS1
  7. CLS
  8. echo  
  9. ECHO  This procedure will install all files onto your hard disk, drive %2
  10. ECHO  and will create a subdirectory, \LETTER.ACS.
  11. echo  
  12. %2:
  13. CD \
  14. MKDIR LETTER.ACS
  15. CD LETTER.ACS
  16. COPY %3ECOH.COM >TMP
  17. COPY %3YESNO.COM >TMP
  18. COPY %3MKT-X60.EXE >TMP
  19. MKT-X60
  20. COPY GO-%2.BAT GO.BAT
  21. DEL MKT-X60.EXE 
  22. DEL AUTOFLOP.BAT
  23. CLS
  24. echo  
  25. ECOH ══════════    Tutorial for program    ══════════
  26. echo  
  27. ECHO  PROGRAM.DOC is the short tutorial.
  28. ECHO  Would you like to print it out now?
  29. echo  
  30. :YESNO
  31. YESNO
  32. CLS
  33. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
  34. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
  35. GOTO YESNO
  36. :YESNEXT
  37. CLS
  38. ECHO Please make sure your printer is now turned on and set
  39. ECHO to the 'top of form'. Then press any key to continue.
  40. echo  
  41. PAUSE
  42. CLS
  43. echo  
  44. echo  
  45. ECOH ══════════ Now printing tutorial ══════════
  46. COPY PROGRAM.DOC LPT1: >TMP
  47. CLS
  48. GOTO YES1
  49. :YES1
  50. CLS
  51. GO
  52. :END
  53. echo  
  54.